var t = $.getMenuButtonBoundingClientRect(),
  o = t.top,
  e = t.left,
  i = t.right,
  a = t.bottom,
  l = t.width,
  n = t.height;
console.log("position", {
  top: o,
  left: e,
  right: i,
  bottom: a,
  width: l,
  height: n
}), Component({
  properties: {
    normal: {
      type: Boolean,
      value: !0
    }
  },
  data: {
    top: o - 3,
    right: l + 14,
    lightStyle: !1
  },
  methods: {
    onBack: function () {
      $.router.back()
    },
    onTapHistory: function () {
      $.router.push("/subpackage/personal/call-record/index")
    }
  },
  lifetimes: {
    attached: function () {
      this.data.normal && this.setData({
        lightStyle: !0
      })
    }
  },
  componentPage: {
    onPageScroll: function (t) {
      if (!this.data.normal) {
        var o = t.scrollTop;
        o > 80 && !this.data.lightStyle && this.setData({
          lightStyle: !0
        }), o > 80 || !this.data.lightStyle || this.setData({
          lightStyle: !1
        })
      }
    }
  }
});